<?php 
$conn=mysql_connect('localhost','root','') or die('链接IP、数据库账号或密码错误'.mysql_error());
mysql_select_db('xzpf',$conn) or die('选择数据库出错' . mysql_error());
mysql_select_db('db');mysql_query("set names utf8;"); 
date_default_timezone_set('Asia/Shanghai');
session_start(); 


?>